<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>perf</Name>
        <Homepage>http://www.kernel.org</Homepage>
        <Packager>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>app:gui</IsA>
        <Summary>Performance analyser tool that makes full use of the Linux performance counter subsystem</Summary>
        <Description>perf is a new tool which is used to optimize, validate and measure applications, workloads or the full system through the Linux performance counter subsystem.</Description>
        <Archive sha1sum="01961045127c21f8a9dbaa9e7705dbb9e4cffbaa" type="targz">https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/linux-5.15.tar.gz</Archive>
        <BuildDependencies>
		<Dependency>git</Dependency>
            <Dependency>libunwind-devel</Dependency>
            <Dependency>audit-devel</Dependency>
            <Dependency>xz-devel</Dependency>
            <Dependency>gtk2-devel</Dependency>
            <Dependency>unifdef</Dependency>
            <Dependency>elfutils-devel</Dependency>
            <Dependency>diffutils</Dependency>
            <Dependency>newt-devel</Dependency>
            <Dependency>xmlto</Dependency>
            <Dependency>asciidoc</Dependency>
            <Dependency>pciutils-devel</Dependency>
            <Dependency>numactl-devel</Dependency>
            <Dependency>python-devel</Dependency>
            <Dependency>slang-devel</Dependency>
            <Dependency>glib2-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>perl</Dependency>
            <Dependency>util-linux</Dependency>
            <Dependency>libxslt</Dependency>
            <Dependency>openssl-devel</Dependency>
            <Dependency>systemtap-sdt-devel</Dependency>
            <Dependency>zstd-devel</Dependency>
            <Dependency>libcap-devel</Dependency>
            
            <Dependency>python3</Dependency>	
        </BuildDependencies>
        <Patches>
            <!-- Linux patches -->
            <Patch level="1" compressionType="xz">patches/linux/patch-5.15.81.xz</Patch>

            <!-- aufs5 patchec -->
            <Patch level="1">patches/aufs5/aufs5.15.41-20220620.patch</Patch>
            <Patch level="1">patches/aufs5/aufs5-base.patch</Patch>
            <Patch level="1">patches/aufs5/aufs5-kbuild.patch</Patch>
            <Patch level="1">patches/aufs5/aufs5-loopback.patch</Patch>
            <Patch level="1">patches/aufs5/aufs5-mmap.patch</Patch>
            <Patch level="1">patches/aufs5/tmpfs-idr.patch</Patch>
            <Patch level="1">patches/aufs5/vfs-ino.patch</Patch>
            <Patch level="1">patches/aufs5/aufs5-standalone.patch</Patch>

            <!-- Mageia Linux patches-->
            <Patch level="1">patches/mageia/fs-procfs-do-not-list-TID-0-in-proc-pid-task.patch</Patch>

            <Patch level="1">patches/mageia/CVE-2019-12379.patch</Patch>
            <Patch level="1">patches/mageia/CVE-2020-16119-DCCP-CCID-structure-use-after-free.patch</Patch>

            <Patch level="1">patches/mageia/platform-x86-add-shuttle-wmi-driver.patch</Patch>
            <Patch level="1">patches/mageia/platform-x86-shuttle-wmi-drop-devinit-exit.patch</Patch>
            <Patch level="1">patches/mageia/platform-x86-shuttle-wmi-4.2-buildfix.patch</Patch>
            <Patch level="1">patches/mageia/platform-x86-shuttle-wmi-4.13-buildfix.patch</Patch>
            <Patch level="1">patches/mageia/platform-x86-shuttle-wmi-kernel-5.5.patch</Patch>

            <Patch level="1">patches/mageia/3rd-3rdparty-tree.patch</Patch>
            <Patch level="1">patches/mageia/3rd-3rdparty-merge.patch</Patch>

            <Patch level="1">patches/mageia/3rd-ndiswrapper-1.63.patch</Patch>
            <Patch level="1">patches/mageia/3rd-ndiswrapper-Kconfig.patch</Patch>
            <Patch level="1">patches/mageia/3rd-ndiswrapper-Makefile-build-fix.patch</Patch>
            <Patch level="1">patches/mageia/3rd-niswrapper-Kconfig-Makefile.patch</Patch>

            <Patch level="1">patches/mageia/3rd-rtl8812au.patch</Patch>
            <Patch level="1">patches/mageia/3rd-rtl8812au-Kconfig-Makefile.patch</Patch>
            <Patch level="1">patches/mageia/3rd-rtl8812au-rename.patch</Patch>
            <Patch level="1">patches/mageia/3rd-rtl8812au-kernel-5.12.patch</Patch>
            <Patch level="1">patches/mageia/3rd-rtl8812au-kernel-5.15.patch</Patch>

            <Patch level="1">patches/mageia/3rd-rtl8723de.patch</Patch>
            <Patch level="1">patches/mageia/3rd-rtl8723de-Kconfig-Makefile.patch</Patch>
            <Patch level="1">patches/mageia/3rd-rtl8723de-fix-redefine.patch</Patch>
            <Patch level="1">patches/mageia/3rd-rtl8723de-nodebug.patch</Patch>
            <Patch level="1">patches/mageia/3rd-rtl8223de-kernel-5.6.patch</Patch>
            <Patch level="1">patches/mageia/3rd-rtl8723de-add-kernel-5.8-support.patch</Patch>

            <Patch level="1">patches/mageia/3rd-viahss-0.92.patch</Patch>
            <Patch level="1">patches/mageia/3rd-viahss-config.patch</Patch>
            <Patch level="1">patches/mageia/3rd-viahss-module-license.patch</Patch>
            <Patch level="1">patches/mageia/3rd-viahss-2.6.35-buildfix.patch</Patch>
            <Patch level="1">patches/mageia/3rd-viahss-3.0-buildfix.patch</Patch>
            <Patch level="1">patches/mageia/3rd-viahss-Kconfig-Makefile.patch</Patch>

            <Patch level="1">patches/mageia/3rd-rtl8821ce.patch</Patch>
            <Patch level="1">patches/mageia/3rd-rtl8821ce-Kconfig-Makefile.patch</Patch>
            <Patch level="1">patches/mageia/3rd-rtl8821ce-5.8-fix.patch</Patch>
            <Patch level="1">patches/mageia/3rd-rtl8821ce-kernel-5.10.patch</Patch>
            <Patch level="1">patches/mageia/3rd-rtl8821ce-kernel-5.12.patch</Patch>
            <Patch level="1">patches/mageia/3rd-rtl8821ce-kernel-5.15.patch</Patch>

            <Patch level="1">patches/mageia/3rd-fix-kconfig.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>perf</Name>
        <RuntimeDependencies>
            <Dependency>audit</Dependency>
            <Dependency>xz</Dependency>
            <Dependency>newt</Dependency>
            <Dependency>elfutils</Dependency>
            <Dependency>gtk2</Dependency>
            <Dependency>numactl</Dependency>
            <Dependency>libunwind</Dependency>
            <Dependency>python</Dependency>
            <Dependency>slang</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>perl</Dependency>
	    <Dependency>zstd</Dependency>
            <Dependency>libcap</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="library">/usr/libexec</Path>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="man">/usr/share/man/</Path>
            <Path fileType="data">/usr/share/perf-core</Path>
            <Path fileType="data">/usr/share/doc/perf-tip</Path>
        </Files>
    </Package>
    <History>
        <Update release="29">
            <Date>2022-12-07</Date>
            <Version>5.15.81</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="28">
            <Date>2022-06-25</Date>
            <Version>5.15.50</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="27">
            <Date>2022-05-21</Date>
            <Version>5.15.41</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="26">
            <Date>2021-06-19</Date>
            <Version>5.10.45</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="25">
            <Date>2021-06-02</Date>
            <Version>5.10.41</Version>
            <Comment>Version bump.</Comment>
            <Name>İdris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
        <Update release="24">
            <Date>2020-12-27</Date>
            <Version>5.10.19</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="23">
            <Date>2020-12-27</Date>
            <Version>5.10.3</Version>
            <Comment>Version bump.</Comment>
            <Name>Idris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
        <Update release="22">
            <Date>2020-08-07</Date>
            <Version>5.7.14</Version>
            <Comment>Version bump.</Comment>
            <Name>Idris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
        <Update release="21">
            <Date>2020-06-18</Date>
            <Version>5.6.19</Version>
            <Comment>Version bump.</Comment>
            <Name>Idris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
        <Update release="20">
            <Date>2020-06-01</Date>
            <Version>5.6.15</Version>
            <Comment>Version bump.</Comment>
            <Name>Idris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
        <Update release="19">
            <Date>2020-05-04</Date>
            <Version>5.6.10</Version>
            <Comment>Version bump.</Comment>
            <Name>Idris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
        <Update release="18">
            <Date>2020-04-13</Date>
            <Version>5.6.4</Version>
            <Comment>Version bump.</Comment>
            <Name>Idris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
		<Update release="17">
            <Date>2020-01-30</Date>
            <Version>5.4.16</Version>
            <Comment>Version bump.</Comment>
            <Name>Idris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
		<Update release="16">
            <Date>2019-06-09</Date>
            <Version>4.19.49</Version>
            <Comment>Version bump.</Comment>
            <Name>Idris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
        <Update release="15">
            <Date>2019-04-06</Date>
            <Version>4.19.34</Version>
            <Comment>Version bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="14">
            <Date>2018-12-22</Date>
            <Version>4.14.90</Version>
            <Comment>Version bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="13">
            <Date>2018-10-06</Date>
            <Version>4.14.73</Version>
            <Comment>Version bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="12">
            <Date>2018-10-04</Date>
            <Version>4.14.61</Version>
            <Comment>Version bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="11">
            <Date>2018-07-13</Date>
            <Version>4.14.55</Version>
            <Comment>Version bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="10">
            <Date>2018-03-11</Date>
            <Version>4.9.86</Version>
            <Comment>Version bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="9">
            <Date>2018-03-03</Date>
            <Version>4.9.80</Version>
            <Comment>Version bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="8">
            <Date>2018-01-06</Date>
            <Version>4.9.75</Version>
            <Comment>Version bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="7">
            <Date>2017-12-20</Date>
            <Version>4.9.70</Version>
            <Comment>Version bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="6">
            <Date>2017-12-07</Date>
            <Version>4.9.66</Version>
            <Comment>Version bump</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="5">
            <Date>2017-11-19</Date>
            <Version>4.9.63</Version>
            <Comment>Version bump</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2016-07-13</Date>
            <Version>4.7.0</Version>
            <Comment>Version bump</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2016-07-13</Date>
            <Version>4.6.3</Version>
            <Comment>Version bump</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-02</Date>
            <Version>4.4.8</Version>
            <Comment>Version bump</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="1">
            <Date>2016-03-06</Date>
            <Version>4.4.4</Version>
            <Comment>First release</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
    </History>
</PISI>
